{% extends "base_generic.html" %}
{% block content %}
  <h1>Terms ({{terms|length}})</h1>
  <h2><a href="/languages/terms//new/" class="add">Add new Term</a></h2>
  <table class="tablelist">
  {% for term in terms %}
    <tr>
      <td>{{term.word}}</td>
      <td>{{term.translate}}</td>
      <td><a href="/languages/terms/{{term.key}}/edit/">Edit</a></td>
      <td><a href="/languages/terms/{{term.key}}/delete/" onclick="return confirm('are you sure do you want to delete \'{{term.word}}\'?');">Delete</a></td>
    </tr>
{%endfor%}
</table>
{% endblock %}
